'use strict';

// 创建db对象
const db = uniCloud.database();
// 获取 `tt_holiday` 集合的引用
const holidayCollection = db.collection('tt_holiday');

exports.main = async (event, context) => {
	//event为客户端上传的参数
	// console.log('event : ', event)
	const result = await holidayCollection.doc("690c5854286f7cfef6483190").get()
	//返回数据给客户端
	return result
};